<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>iframeTwo</title>
    <style>
    </style>
</head>
<body>
    <div>iframeTwo</div>
    <iframe src="second.html" frameborder="0" width="500px" height="300px" id="ifr"></iframe>
</body>
<script>
    function iframeRefresh() {
        let iframeHtml = document.getElementById('ifr');
        iframeHtml.src = 'second.html';
    }
</script>
</html>